package com.bjpowernode.dataservice.impl;

import com.bjpowernode.mapper.IncomeRecordMapper;
import com.bjpowernode.model.IncomeRecord;
import com.bjpowernode.service.IncomeRecordService;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;
import java.util.List;

@DubboService
public class IncomeRecordServiceImpl implements IncomeRecordService {
    @Resource
    private IncomeRecordMapper incomeRecordMapper;
    @Override
    public List<IncomeRecord> queryIncomeByUid(Integer uid) {
        return incomeRecordMapper.selectIncomeByUid(uid);
    }
}
